package com.zhangtai.modules.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.util.Date;

@Data
public class OldEmployeeDto {
    private String oldCompany;//原公司名称
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oldCompanyId;
    private String oldDepartment;//原部门名称
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oldDepartmentId;
    private String oldJobName;//原岗位名称
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oldJobId;
    private String oldJobType; //原用工类型
    private String oldStatus; //员工状态
    private Date oldHireDate ;//原入职时间
    private Date oldDimissionDate;//原离职时间
    private String oldIsCentreLeader;//是否中心负责人
    private String oldIsDepartmentLeader;//是否部门负责人
}
